<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:17:42 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Git - giteveryday</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Guides">
                                Guides                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="3ed243e3aa1a3a0a91222d19a65294c8cd3c5268b62612fd8037c2027f7efa29/b1" data-source="giteveryday" onmousemove="i18n(this)">giteveryday</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="16b64c72d74a75540bda8bcef6ca390f52ffa6f18b14e9b4ae6600db0c510880/2c" data-source="giteveryday - A useful minimum set of commands for Everyday Git" onmousemove="i18n(this)">giteveryday &mdash; &Mcy;&icy;&ncy;&icy;&mcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy;&jcy; &ncy;&acy;&bcy;&ocy;&rcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; &dcy;&lcy;&yacy; Everyday  Git</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <p><span data-i18n="c1e9edb76f5b6c40f18222e1ad6b2001a644698aaf8e8586dda67f01ef91beca/c2" data-source="Everyday Git With 20 Commands Or So" onmousemove="i18n(this)">Git  &ncy;&acy; &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &dcy;&iecy;&ncy;&softcy; &scy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&ncy;&ocy; 20 &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;</span></p> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="68e94d6348629c79b1565d1229662d204bf6cd1368420492800bc4bac4b4ab7b/b2" data-source="Git users can broadly be grouped into four categories for the purposes of describing here a small set of useful commands for everyday Git." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy;  Git  &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&scy;&lcy;&ocy;&vcy;&ncy;&ocy; &scy;&gcy;&rcy;&ucy;&pcy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &chcy;&iecy;&tcy;&ycy;&rcy;&iecy; &kcy;&acy;&tcy;&iecy;&gcy;&ocy;&rcy;&icy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&pcy;&icy;&scy;&acy;&tcy;&softcy; &zcy;&dcy;&iecy;&scy;&softcy; &ncy;&iecy;&bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&jcy; &ncy;&acy;&bcy;&ocy;&rcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; &dcy;&lcy;&yacy; &pcy;&ocy;&vcy;&scy;&iecy;&dcy;&ncy;&iecy;&vcy;&ncy;&ocy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;  Git .</span></p> <div> <ul> <li> <p><span data-i18n="befe6a984ace8c010a9c458b7a1725b1bf63de0181048993792d2d0180769d88/1a" data-source="&lt;a href=&quot;#STANDALONE&quot;&gt;Individual Developer (Standalone)&lt;/a&gt; commands are essential for anybody who makes a commit, even for somebody who works alone." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <a href="giteveryday.html#STANDALONE">Individual Developer (Standalone)</a>  &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy;, &kcy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &dcy;&acy;&zhcy;&iecy; &dcy;&lcy;&yacy; &tcy;&iecy;&khcy;, &kcy;&tcy;&ocy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &vcy; &ocy;&dcy;&icy;&ncy;&ocy;&chcy;&kcy;&ucy;.</span></p> </li> <li> <p><span data-i18n="b8edf3a347fb2fcab675bb290187e72a9d367b0224f14c097d8a91b76daa1850/40" data-source="If you work with other people, you will need commands listed in the &lt;a href=&quot;#PARTICIPANT&quot;&gt;Individual Developer (Participant)&lt;/a&gt; section as well." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy;&iecy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &lcy;&yucy;&dcy;&softcy;&mcy;&icy;, &vcy;&acy;&mcy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&ocy;&ncy;&acy;&dcy;&ocy;&bcy;&yacy;&tcy;&scy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;, &pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <a href="giteveryday.html#PARTICIPANT">Individual Developer (Participant)</a> .</span></p> </li> <li> <p><span data-i18n="e73c1b69ed356f932b8138b5092d733b8e8284137193f22a7acbfce59e3a6516/28" data-source="People who play the &lt;a href=&quot;#INTEGRATOR&quot;&gt;Integrator&lt;/a&gt; role need to learn some more commands in addition to the above." onmousemove="i18n(this)">&Lcy;&yucy;&dcy;&yacy;&mcy;, &icy;&gcy;&rcy;&acy;&yucy;&shchcy;&icy;&mcy; &rcy;&ocy;&lcy;&softcy;  <a href="giteveryday.html#INTEGRATOR">Integrator</a> , &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &vcy;&ycy;&ucy;&chcy;&icy;&tcy;&softcy; &iecy;&shchcy;&iecy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; &vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &vcy;&ycy;&shcy;&iecy;&pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy;.</span></p> </li> <li> <p><span data-i18n="2631a5e57e789edf19a0936d9a921721f90829f6f1fc2dc5d867bef274f308b5/35" data-source="&lt;a href=&quot;#ADMINISTRATION&quot;&gt;Repository Administration&lt;/a&gt; commands are for system administrators who are responsible for the care and feeding of Git repositories." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <a href="giteveryday.html#ADMINISTRATION">Repository Administration</a>  &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ycy; &dcy;&lcy;&yacy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ncy;&ycy;&khcy; &acy;&dcy;&mcy;&icy;&ncy;&icy;&scy;&tcy;&rcy;&acy;&tcy;&ocy;&rcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&tcy;&vcy;&iecy;&chcy;&acy;&yucy;&tcy; &zcy;&acy; &ocy;&bcy;&scy;&lcy;&ucy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&iecy; &icy; &pcy;&ocy;&dcy;&acy;&chcy;&ucy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;  Git .</span></p> </li> </ul> </div> </div> <h2 class="text-body-emphasis"  id="_individual_developer_standalone"><span data-i18n="86943a72f67136badf04b91e3cc2d05e6aea3ef44c205183b57c110db9c06701/5b" data-source="Individual developer (standalone)" onmousemove="i18n(this)">&Icy;&ncy;&dcy;&icy;&vcy;&icy;&dcy;&ucy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy; (&acy;&vcy;&tcy;&ocy;&ncy;&ocy;&mcy;&ncy;&ycy;&jcy;)</span></h2> <div> <p><span data-i18n="b3dd7627e09044419dabef4417001c7414b95666a4c43707094a7bda645ba9f1/ca" data-source="A standalone individual developer does not exchange patches with other people, and works alone in a single repository, using the following commands." onmousemove="i18n(this)">&Acy;&vcy;&tcy;&ocy;&ncy;&ocy;&mcy;&ncy;&ycy;&jcy; &icy;&ncy;&dcy;&icy;&vcy;&icy;&dcy;&ucy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy; &ncy;&iecy; &ocy;&bcy;&mcy;&iecy;&ncy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&acy;&tcy;&chcy;&acy;&mcy;&icy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &lcy;&yucy;&dcy;&softcy;&mcy;&icy; &icy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &ocy;&dcy;&icy;&ncy; &vcy; &ocy;&dcy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;.</span></p> <div> <ul> <li> <p><span data-i18n="e7002747ddaf11d9b2a9c62e42260f831cf67e58d7d804781f096d4735a6827b/40" data-source="&lt;a href=&quot;git-init&quot;&gt;git-init[1]&lt;/a&gt; to create a new repository." onmousemove="i18n(this)"><a href="git-init.html">git-init[1]</a>  &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></p> </li> <li> <p><span data-i18n="7d25d7d368ed593a822917edb52cf01ccdf837b81979c7667094f5697fc0f574/de" data-source="&lt;a href=&quot;git-log&quot;&gt;git-log[1]&lt;/a&gt; to see what happened." onmousemove="i18n(this)"><a href="git-log.html">git-log[1]</a> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&zcy;&ncy;&acy;&tcy;&softcy;, &chcy;&tcy;&ocy; &pcy;&rcy;&ocy;&icy;&zcy;&ocy;&shcy;&lcy;&ocy;.</span></p> </li> <li> <p><span data-i18n="f99902e44bc0ad0b782dedc8828fe526d970497c15a25cfd19f25b3706902eae/48" data-source="&lt;a href=&quot;git-switch&quot;&gt;git-switch[1]&lt;/a&gt; and &lt;a href=&quot;git-branch&quot;&gt;git-branch[1]&lt;/a&gt; to switch branches." onmousemove="i18n(this)"><a href="git-switch.html">git-switch[1]</a>  &icy;  <a href="git-branch.html">git-branch[1]</a>  &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;.</span></p> </li> <li> <p><span data-i18n="67530d817cffbced0d5fa10641d78aca4d03f3d349b9dbb4874db9417984de52/32" data-source="&lt;a href=&quot;git-add&quot;&gt;git-add[1]&lt;/a&gt; to manage the index file." onmousemove="i18n(this)"><a href="git-add.html">git-add[1]</a>  &dcy;&lcy;&yacy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&mcy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy;.</span></p> </li> <li> <p><span data-i18n="7eccda9fe99d6fde6619cae48f913fd9822dbc814a6c634d9aaaa8e36b830ffd/46" data-source="&lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt; and &lt;a href=&quot;git-status&quot;&gt;git-status[1]&lt;/a&gt; to see what you are in the middle of doing." onmousemove="i18n(this)"><a href="git-diff.html">git-diff[1]</a>  &icy;  <a href="git-status.html">git-status[1]</a> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;, &chcy;&iecy;&mcy; &vcy;&ycy; &zcy;&acy;&ncy;&icy;&mcy;&acy;&iecy;&tcy;&iecy;&scy;&softcy;.</span></p> </li> <li> <p><span data-i18n="8a6b32abf64ad7ba4fe8c3ca9be46e7f78c20856d7ef6f7a2bf98a9ff46e6356/7b" data-source="&lt;a href=&quot;git-commit&quot;&gt;git-commit[1]&lt;/a&gt; to advance the current branch." onmousemove="i18n(this)"><a href="git-commit.html">git-commit[1]</a>  &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&khcy;&ocy;&dcy;&acy; &kcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;.</span></p> </li> <li> <p><span data-i18n="578f22c7c2c584858768844312223af8e1e994a1c73694eb863e5584ab12ed3f/7a" data-source="&lt;a href=&quot;git-restore&quot;&gt;git-restore[1]&lt;/a&gt; to undo changes." onmousemove="i18n(this)"><a href="git-restore.html">git-restore[1]</a>  &dcy;&lcy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&ycy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;.</span></p> </li> <li> <p><span data-i18n="4b65d85734774f3c416137cb24a17acfd440cc31526f1f45f05260fc3a9c3182/9a" data-source="&lt;a href=&quot;git-merge&quot;&gt;git-merge[1]&lt;/a&gt; to merge between local branches." onmousemove="i18n(this)"><a href="git-merge.html">git-merge[1]</a>  &dcy;&lcy;&yacy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;.</span></p> </li> <li> <p><span data-i18n="4c02c1818ae9ed378b552b0e685601e1ff09d0e7133bfea0b842422b64a7ba8f/51" data-source="&lt;a href=&quot;git-rebase&quot;&gt;git-rebase[1]&lt;/a&gt; to maintain topic branches." onmousemove="i18n(this)"><a href="git-rebase.html">git-rebase[1]</a>  &dcy;&lcy;&yacy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&kcy;&icy; &tcy;&iecy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;.</span></p> </li> <li> <p><span data-i18n="8da1c870e074b99bbe62478e3422409859edafcf5cc0e088f3de17c7ea02ba6d/1e" data-source="&lt;a href=&quot;git-tag&quot;&gt;git-tag[1]&lt;/a&gt; to mark a known point." onmousemove="i18n(this)"><a href="git-tag.html">git-tag[1]</a>  &dcy;&lcy;&yacy; &ocy;&bcy;&ocy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ocy;&jcy; &tcy;&ocy;&chcy;&kcy;&icy;.</span></p> </li> </ul> </div> <div> <h3 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h3> <div> <dl> <dt id="Documentation/giteveryday.txt-Useatarballasastartingpointforanewrepository"><span data-i18n="c0b5c6cf2469d0b28023507b0351f81094f4485d03036bb9e77075f344f637bc/b0" data-source="Use a tarball as a starting point for a new repository." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &acy;&rcy;&khcy;&icy;&vcy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&ncy;&ocy;&jcy; &tcy;&ocy;&chcy;&kcy;&icy; &dcy;&lcy;&yacy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></dt> <dd> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">tar zxf frotz.tar.gz</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> frotz</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git init</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git add . (1)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git commit -m <span class="hljs-string">&quot;import of frotz source tree.&quot;</span></span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git tag v2.43 (2)</span></pre> </div> </div> <div> <ol> <li> <p><span data-i18n="220d72fd49bc37a087e11c4d606fe8a8af77d1900a426ad4bba575ba7eb6db7b/61" data-source="add everything under the current directory." onmousemove="i18n(this)">&dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &vcy;&scy;&iecy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;.</span></p> </li> <li> <p><span data-i18n="5ceead36e0a931e8a61f8ba6775c52ec36ba13861859b47363dca0fa267b4a8c/c7" data-source="make a lightweight, unannotated tag." onmousemove="i18n(this)">&scy;&dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy; &lcy;&iecy;&gcy;&kcy;&icy;&jcy;, &ncy;&iecy;&acy;&ncy;&ncy;&ocy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &tcy;&iecy;&gcy;.</span></p> </li> </ol> </div> </dd> <dt id="Documentation/giteveryday.txt-Createatopicbranchanddevelop"><span data-i18n="b0f35c8978888270f747603540372300eadf590e48d60d37272e1c09bb65efa4/ad" data-source="Create a topic branch and develop." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy; &icy; &rcy;&acy;&zcy;&vcy;&icy;&vcy;&acy;&jcy;&tcy;&iecy;&scy;&softcy;.</span></dt> <dd> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch -c alsa-audio (1)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">edit/compile/test</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git restore curses/ux_audio_oss.c (2)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git add curses/ux_audio_alsa.c (3)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">edit/compile/test</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git diff HEAD (4)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git commit -a -s (5)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">edit/compile/test</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git diff HEAD^ (6)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git commit -a --amend (7)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch master (8)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git merge alsa-audio (9)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">log</span> --since=<span class="hljs-string">&apos;3 days ago&apos;</span> (10)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">log</span> v2.43.. curses/ (11)</span></pre> </div> </div> <div> <ol> <li> <p><span data-i18n="21718a7430d4bb91fb539f4ad2d8701a47104206a778efbfa0dd0d8253e147c8/c3" data-source="create a new topic branch." onmousemove="i18n(this)">&scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy;.</span></p> </li> <li> <p><span data-i18n="9aa152559f1e182127447db92c8cf64de3c159721632637b1ccccf8b2fcc4594/b3" data-source="revert your botched changes in &lt;code&gt;curses/ux_audio_oss.c&lt;/code&gt;." onmousemove="i18n(this)">&ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy;  <code>curses/ux_audio_oss.c</code> .</span></p> </li> <li> <p><span data-i18n="c9d3cbcae07713382bc8e0f694cabe51ad24c3153718ac5c9923f969a209d7c2/da" data-source="you need to tell Git if you added a new file; removal and modification will be caught if you do &lt;code&gt;git commit -a&lt;/code&gt; later." onmousemove="i18n(this)">&vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&ncy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&softcy;  Git , &dcy;&ocy;&bcy;&acy;&vcy;&icy;&lcy;&icy; &lcy;&icy; &vcy;&ycy; &ncy;&ocy;&vcy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&iecy; &icy; &mcy;&ocy;&dcy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&tcy;&lcy;&ocy;&vcy;&lcy;&iecy;&ncy;&ycy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &scy;&dcy;&iecy;&lcy;&acy;&iecy;&tcy;&iecy;  <code>git commit -a</code>  &pcy;&ocy;&zcy;&zhcy;&iecy;.</span></p> </li> <li> <p><span data-i18n="a02c09795789c6631c58a3fcf3b72c462f4f47baefe2e5a0485cf6e0b3a2dddb/de" data-source="to see what changes you are committing." onmousemove="i18n(this)">&chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;, &kcy;&acy;&kcy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy; &scy;&ocy;&vcy;&iecy;&rcy;&shcy;&acy;&iecy;&tcy;&iecy;.</span></p> </li> <li> <p><span data-i18n="2c180669828dbd1c9e974e8fb85370fc4312b68e12ad8853cdf8830a2c0cd150/3e" data-source="commit everything, as you have tested, with your sign-off." onmousemove="i18n(this)">&zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &vcy;&scy;&iecy;, &kcy;&acy;&kcy; &vcy;&ycy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&lcy;&icy;, &scy; &vcy;&acy;&shcy;&iecy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&softcy;&yucy;.</span></p> </li> <li> <p><span data-i18n="123dfc67b8c69e396d29bdff20c921b10dc87db8c2ea09efc33a61910914b969/a6" data-source="look at all your changes including the previous commit." onmousemove="i18n(this)">&pcy;&rcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&tcy;&iecy; &vcy;&scy;&iecy; &vcy;&acy;&shcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;.</span></p> </li> <li> <p><span data-i18n="38e2f271986382e9cce971e5b86e466c6cda9db352281c8e11addb4a254c0251/45" data-source="amend the previous commit, adding all your new changes, using your original message." onmousemove="i18n(this)">&ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &dcy;&ocy;&bcy;&acy;&vcy;&icy;&vcy; &vcy;&scy;&iecy; &ncy;&ocy;&vcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;.</span></p> </li> <li> <p><span data-i18n="88ee0a1ccf1111337650c2d92cccb36d22f9bca761404cbbc33d7833e306801d/ec" data-source="switch to the master branch." onmousemove="i18n(this)">&pcy;&iecy;&rcy;&iecy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;&scy;&softcy; &ncy;&acy; &gcy;&lcy;&acy;&vcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;.</span></p> </li> <li> <p><span data-i18n="7b0ca12085898f17a936ec8b585cc41d1a75d7c71b0f3b8b8264399b92f6c382/a9" data-source="merge a topic branch into your master branch." onmousemove="i18n(this)">&ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&iecy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy; &scy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy;.</span></p> </li> <li> <p><span data-i18n="3af86db610031fe49d03154ed64007959459d5f1e185f2082274c43ff2947d88/c9" data-source="review commit logs; other forms to limit output can be combined and include &lt;code&gt;-10&lt;/code&gt; (to show up to 10 commits), &lt;code&gt;--until=2005-12-10&lt;/code&gt;, etc." onmousemove="i18n(this)">&pcy;&rcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&iecy;&tcy;&softcy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy;&ycy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &fcy;&ocy;&rcy;&mcy;&ycy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy;&vcy;&ocy;&dcy;&acy; &mcy;&ocy;&zhcy;&ncy;&ocy; &kcy;&ocy;&mcy;&bcy;&icy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&tcy;&softcy;  <code>-10</code>  (&dcy;&lcy;&yacy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy; 10 &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;),  <code>--until=2005-12-10</code>  &icy; &tcy;. &dcy;.</span></p> </li> <li> <p><span data-i18n="6f4275471fbf31344af6579c512abbb5029fe507690d4883511cead3b122c79f/61" data-source="view only the changes that touch what&amp;rsquo;s in &lt;code&gt;curses/&lt;/code&gt; directory, since &lt;code&gt;v2.43&lt;/code&gt; tag." onmousemove="i18n(this)">&pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &kcy;&acy;&scy;&acy;&yucy;&tcy;&scy;&yacy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;  <code>curses/</code> , &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy; &tcy;&iecy;&gcy;&acy;  <code>v2.43</code> .</span></p> </li> </ol> </div> </dd> </dl> </div> </div> </div> <h2 class="text-body-emphasis"  id="_individual_developer_participant"><span data-i18n="47b3dcb7edb8ae257d9dd58e292f00a4c9c36f05b56122a837da8c8443b0b49c/7d" data-source="Individual developer (participant)" onmousemove="i18n(this)">&Icy;&ncy;&dcy;&icy;&vcy;&icy;&dcy;&ucy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &zcy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&shchcy;&icy;&kcy; (&ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;)</span></h2> <div> <p><span data-i18n="ec5ce300610711825156d30647fd5ca45af68030982ddde0ad851278647f485e/ae" data-source="A developer working as a participant in a group project needs to learn how to communicate with others, and uses these commands in addition to the ones needed by a standalone developer." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;, &rcy;&acy;&bcy;&ocy;&tcy;&acy;&yucy;&shchcy;&icy;&jcy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;&acy; &gcy;&rcy;&ucy;&pcy;&pcy;&ocy;&vcy;&ocy;&gcy;&ocy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;, &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &ncy;&acy;&ucy;&chcy;&icy;&tcy;&softcy;&scy;&yacy; &ocy;&bcy;&shchcy;&acy;&tcy;&softcy;&scy;&yacy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; &vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &tcy;&iecy;&mcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&ucy;&zhcy;&ncy;&ycy; &acy;&vcy;&tcy;&ocy;&ncy;&ocy;&mcy;&ncy;&ocy;&mcy;&ucy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&ucy;.</span></p> <div> <ul> <li> <p><span data-i18n="599a763302e7488bc79c5e2fd66e2b7830b54edc3e5122f9cc2fbb7e3f8be6ae/10" data-source="&lt;a href=&quot;git-clone&quot;&gt;git-clone[1]&lt;/a&gt; from the upstream to prime your local repository." onmousemove="i18n(this)"><a href="git-clone.html">git-clone[1]</a>  &icy;&zcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&tcy;&ocy;&kcy;&acy; &dcy;&lcy;&yacy; &zcy;&acy;&gcy;&rcy;&ucy;&zcy;&kcy;&icy; &vcy;&acy;&shcy;&iecy;&gcy;&ocy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></p> </li> <li> <p><span data-i18n="dd49b61b1265b3404bb044e6756b7e0156e7626e9a5508d19cc3762330a9e2f4/c9" data-source="&lt;a href=&quot;git-pull&quot;&gt;git-pull[1]&lt;/a&gt; and &lt;a href=&quot;git-fetch&quot;&gt;git-fetch[1]&lt;/a&gt; from &amp;quot;origin&amp;quot; to keep up-to-date with the upstream." onmousemove="i18n(this)"><a href="git-pull.html">git-pull[1]</a>  &icy;  <a href="git-fetch.html">git-fetch[1]</a>  &vcy;&mcy;&iecy;&scy;&tcy;&ocy;  &quot;origin&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &bcy;&ycy;&tcy;&softcy; &vcy; &kcy;&ucy;&rcy;&scy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&khcy; &scy;&ocy;&bcy;&ycy;&tcy;&icy;&jcy;.</span></p> </li> <li> <p><span data-i18n="43c87826b2c17d91a054cb91c72eb1e755acc4d6a75c3df29b82c04f050f9422/c1" data-source="&lt;a href=&quot;git-push&quot;&gt;git-push[1]&lt;/a&gt; to shared repository, if you adopt CVS style shared repository workflow." onmousemove="i18n(this)"><a href="git-push.html">git-push[1]</a>  &vcy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy; &scy;&tcy;&icy;&lcy;&iecy; CVS.</span></p> </li> <li> <p><span data-i18n="02d847289ebe32b7afbc64731d4aa7fb079bcf26fb665bc1a260144b55d29400/25" data-source="&lt;a href=&quot;git-format-patch&quot;&gt;git-format-patch[1]&lt;/a&gt; to prepare e-mail submission, if you adopt Linux kernel-style public forum workflow." onmousemove="i18n(this)"><a href="git-format-patch.html">git-format-patch[1]</a>  &dcy;&lcy;&yacy; &pcy;&ocy;&dcy;&gcy;&ocy;&tcy;&ocy;&vcy;&kcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &pcy;&ocy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&iecy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &fcy;&ocy;&rcy;&ucy;&mcy;&acy;  public  &vcy; &scy;&tcy;&icy;&lcy;&iecy; &yacy;&dcy;&rcy;&acy; Linux.</span></p> </li> <li> <p><span data-i18n="50f51388ce07d13a9b035b0231736999d93e71ddcca1a9f01313e71f0be0d1a6/8d" data-source="&lt;a href=&quot;git-send-email&quot;&gt;git-send-email[1]&lt;/a&gt; to send your e-mail submission without corruption by your MUA." onmousemove="i18n(this)"><a href="git-send-email.html">git-send-email[1]</a>  &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy;&acy;&shcy;&iecy;&gcy;&ocy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&icy;&scy;&softcy;&mcy;&acy; &bcy;&iecy;&zcy; &icy;&scy;&kcy;&acy;&zhcy;&iecy;&ncy;&icy;&jcy; &vcy;&acy;&shcy;&icy;&mcy; MUA.</span></p> </li> <li> <p><span data-i18n="e90559d98b941a2aa2c39656b49099ecb25ccc8a30bdb9f32e8e4346a32d27af/56" data-source="&lt;a href=&quot;git-request-pull&quot;&gt;git-request-pull[1]&lt;/a&gt; to create a summary of changes for your upstream to pull." onmousemove="i18n(this)"><a href="git-request-pull.html">git-request-pull[1]</a>  &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &scy;&vcy;&ocy;&dcy;&kcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &dcy;&lcy;&yacy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy;.</span></p> </li> </ul> </div> <div> <h3 class="text-body-emphasis"  id="_examples_2"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h3> <div> <dl> <dt id="Documentation/giteveryday.txt-ClonetheupstreamandworkonitFeedchangestoupstream"><span data-i18n="53f34a3b466efcb12454c8c9cfe962919c361e6b4fbc356e7d0ac086749bd394/c1" data-source="Clone the upstream and work on it. Feed changes to upstream." onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; &icy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&jcy;&tcy;&iecy; &ncy;&acy;&dcy; &ncy;&icy;&mcy;. &Pcy;&ocy;&dcy;&acy;&chcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &vcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy;.</span></dt> <dd> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">clone</span> git://git.kernel.org/pub/scm/.../torvalds/linux-2.6 my2.6</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> my2.6</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch -c mine master (1)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">edit/compile/test; git commit -a -s (2)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git format-patch master (3)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git send-email --to=<span class="hljs-string">&quot;person &lt;<a href="https://runebook.dev/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1f7a727e76735f7a677e726f737a317c7072">[email&#160;protected]</a>&gt;&quot;</span> 00*.patch (4)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch master (5)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git pull (6)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">log</span> -p ORIG_HEAD.. <span class="hljs-built_in">arch</span>/i386 include/asm-i386 (7)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git ls-remote --heads http://git.kernel.org/.../jgarzik/libata-dev.git (8)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL (9)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git reset --hard ORIG_HEAD (10)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git gc (11)</span></pre> </div> </div> <div> <ol> <li> <p><span data-i18n="837bee1e17c510e2c3d452ee32efc0e2510c60092caf497d4df91e51c5ea0d3b/29" data-source="checkout a new branch &lt;code&gt;mine&lt;/code&gt; from master." onmousemove="i18n(this)">&Ocy;&fcy;&ocy;&rcy;&mcy;&icy;&tcy;&softcy; &zcy;&acy;&kcy;&acy;&zcy; &ncy;&acy; &ncy;&ocy;&vcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>mine</code>  &ocy;&tcy; &mcy;&acy;&scy;&tcy;&iecy;&rcy;&acy;.</span></p> </li> <li> <p><span data-i18n="ae58ecd0bb8617a29162e7fb22f957586a90ce4448e36e8eb984a5b2930d2a98/45" data-source="repeat as needed." onmousemove="i18n(this)">&pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&icy;&tcy;&iecy; &pcy;&ocy; &mcy;&iecy;&rcy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy;.</span></p> </li> <li> <p><span data-i18n="37486467a4bd46a19c1d15b1ea42fe24583f55a313bf39dc21f88770fae30c8c/03" data-source="extract patches from your branch, relative to master," onmousemove="i18n(this)">&icy;&zcy;&vcy;&lcy;&iecy;&kcy;&icy;&tcy;&iecy; &pcy;&acy;&tcy;&chcy;&icy; &icy;&zcy; &vcy;&acy;&shcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &mcy;&acy;&scy;&tcy;&iecy;&rcy;&acy;,</span></p> </li> <li> <p><span data-i18n="abb2a58ca885b5e9bb4137f7df32ef918ef54ef34330e48a71f2628b6d4073d9/b9" data-source="and email them." onmousemove="i18n(this)">&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &icy;&mcy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&iecy; &pcy;&icy;&scy;&softcy;&mcy;&ocy;.</span></p> </li> <li> <p><span data-i18n="137efab4e5c0c4f2a3efe03c575e28ddd165cda40829ba9aa036fa7c01e77198/9b" data-source="return to &lt;code&gt;master&lt;/code&gt;, ready to see what&amp;rsquo;s new" onmousemove="i18n(this)">&vcy;&iecy;&rcy;&ncy;&icy;&tcy;&iecy;&scy;&softcy; &kcy;  <code>master</code> , &gcy;&ocy;&tcy;&ocy;&vcy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;, &chcy;&tcy;&ocy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy;</span></p> </li> <li> <p><span data-i18n="5db17b97aca8241d81a30c18d768fd399e077e654edd9b19ab94048019cce7aa/47" data-source="&lt;code&gt;git pull&lt;/code&gt; fetches from &lt;code&gt;origin&lt;/code&gt; by default and merges into the current branch." onmousemove="i18n(this)"><code>git pull</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&iecy;&tcy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;  <code>origin</code>  &icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&yacy;&iecy;&tcy; &icy;&khcy; &scy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy;.</span></p> </li> <li> <p><span data-i18n="31a5cf316b3b6a24f870e4ce75ee5f52a82b2be1d3faca6790eb7208a126d688/3b" data-source="immediately after pulling, look at the changes done upstream since last time we checked, only in the area we are interested in." onmousemove="i18n(this)">&scy;&rcy;&acy;&zcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &vcy;&ycy;&tcy;&yacy;&gcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&tcy;&iecy; &ncy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy;&ycy;&shcy;&iecy; &pcy;&ocy; &tcy;&iecy;&chcy;&iecy;&ncy;&icy;&yucy; &scy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy;&acy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&jcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy;, &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&jcy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ncy;&acy;&scy; &icy;&ncy;&tcy;&iecy;&rcy;&iecy;&scy;&ucy;&iecy;&tcy;.</span></p> </li> <li> <p><span data-i18n="9e3a3f8b73a2ae60242f70927f27654a5b2fcb707e624c839bb21e210770d4a8/c5" data-source="check the branch names in an external repository (if not known)." onmousemove="i18n(this)">&pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy; &icy;&mcy;&iecy;&ncy;&acy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &vcy;&ocy; &vcy;&ncy;&iecy;&shcy;&ncy;&iecy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; (&iecy;&scy;&lcy;&icy; &ocy;&ncy;&icy; &ncy;&iecy; &icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ycy;).</span></p> </li> <li> <p><span data-i18n="949c7198db019c8466d51a3eedddf3104a70b71d6bfbefeef77e18afad019364/74" data-source="fetch from a specific branch &lt;code&gt;ALL&lt;/code&gt; from a specific repository and merge it." onmousemove="i18n(this)">&icy;&zcy;&vcy;&lcy;&iecy;&kcy;&icy;&tcy;&iecy; &icy;&zcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;  <code>ALL</code>  &icy;&zcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&iecy; &iecy;&iecy;.</span></p> </li> <li> <p><span data-i18n="20d2b8227900a7e37b59eefe1c8ee909e5b05fd91dfb2979c648124d2491adfc/4c" data-source="revert the pull." onmousemove="i18n(this)">&vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&softcy; &tcy;&yacy;&gcy;&ucy;.</span></p> </li> <li> <p><span data-i18n="06f5e8b89b619b07d4b9fab57a3e43370938fa38ee4c109bd0f969e1621d5cde/fe" data-source="garbage collect leftover objects from reverted pull." onmousemove="i18n(this)">&scy;&bcy;&ocy;&rcy; &mcy;&ucy;&scy;&ocy;&rcy;&acy;, &ocy;&scy;&tcy;&acy;&vcy;&shcy;&icy;&iecy;&scy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &ocy;&tcy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&shchcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy;.</span></p> </li> </ol> </div> </dd> <dt id="Documentation/giteveryday.txt-Pushintoanotherrepository"><span data-i18n="50328bb4af30cf60530e87247de9be8190fa3d0aafa15963fd6c071930489628/5d" data-source="Push into another repository." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&ncy;&iecy;&scy;&icy;&tcy;&iecy; &vcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;.</span></dt> <dd> <div> <div> <pre class="hljs language-ruby">satellite<span class="hljs-variable">$ </span>git clone <span class="hljs-symbol">mothership:</span>frotz frotz (<span class="hljs-number">1</span>)
satellite<span class="hljs-variable">$ </span>cd frotz
satellite<span class="hljs-variable">$ </span>git config --get-regexp <span class="hljs-string">&apos;^(remote|branch)\.&apos;</span> (<span class="hljs-number">2</span>)
remote.origin.url <span class="hljs-symbol">mothership:</span>frotz
remote.origin.fetch refs/heads/*<span class="hljs-symbol">:refs/remotes/origin/*</span>
branch.master.remote origin
branch.master.merge refs/heads/master
satellite<span class="hljs-variable">$ </span>git config remote.origin.push \
           +refs/heads/*<span class="hljs-symbol">:refs/remotes/satellite/*</span> (<span class="hljs-number">3</span>)
satellite<span class="hljs-variable">$ </span>edit/compile/test/commit
satellite<span class="hljs-variable">$ </span>git push origin (<span class="hljs-number">4</span>)

mothership<span class="hljs-variable">$ </span>cd frotz
mothership<span class="hljs-variable">$ </span>git switch master
mothership<span class="hljs-variable">$ </span>git merge satellite/master (<span class="hljs-number">5</span>)</pre> </div> </div> <div> <ol> <li> <p><span data-i18n="63c280f70672648ad87b2b20870ae614eefedaa99ae120c6c402d82b48de8184/8e" data-source="mothership machine has a frotz repository under your home directory; clone from it to start a repository on the satellite machine." onmousemove="i18n(this)">&Ncy;&acy; &mcy;&acy;&shcy;&icy;&ncy;&iecy; Mothership &iecy;&scy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; frotz &vcy; &vcy;&acy;&shcy;&iecy;&mcy; &dcy;&ocy;&mcy;&acy;&shcy;&ncy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &iecy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy; &scy;&pcy;&ucy;&tcy;&ncy;&icy;&kcy;&ocy;&vcy;&ocy;&jcy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;.</span></p> </li> <li> <p><span data-i18n="1accfe9448cedf6c1c040d8e326f816a603239aba891b0971a9f47614575ff0f/a2" data-source="clone sets these configuration variables by default. It arranges &lt;code&gt;git pull&lt;/code&gt; to fetch and store the branches of mothership machine to local &lt;code&gt;remotes/origin/*&lt;/code&gt; remote-tracking branches." onmousemove="i18n(this)">clone &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy; &ecy;&tcy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Ocy;&ncy; &ocy;&rcy;&gcy;&acy;&ncy;&icy;&zcy;&ucy;&iecy;&tcy;  <code>git pull</code>  &dcy;&lcy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &icy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &mcy;&acy;&shcy;&icy;&ncy;&ycy;-&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&yacy; &vcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&yacy;&khcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;  <code>remotes/origin/*</code> .</span></p> </li> <li> <p><span data-i18n="a94f9f2689224195c74b562760be084809ac83db2246f6cb4a02c8a8ddc148e0/4b" data-source="arrange &lt;code&gt;git push&lt;/code&gt; to push all local branches to their corresponding branch of the mothership machine." onmousemove="i18n(this)">&ocy;&rcy;&gcy;&acy;&ncy;&icy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>git push</code>  &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy;&scy;&iecy;&khcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&ocy;&kcy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &mcy;&acy;&tcy;&iecy;&rcy;&icy;&ncy;&scy;&kcy;&ocy;&jcy; &mcy;&acy;&shcy;&icy;&ncy;&ycy;.</span></p> </li> <li> <p><span data-i18n="1b11bb24350fd020d5656245bf995d95943aa9b737456f9fe73e4e6b7cf7e72e/b1" data-source="push will stash all our work away on &lt;code&gt;remotes/satellite/*&lt;/code&gt; remote-tracking branches on the mothership machine. You could use this as a back-up method. Likewise, you can pretend that mothership &amp;quot;fetched&amp;quot; from you (useful when access is one sided)." onmousemove="i18n(this)">push &scy;&pcy;&rcy;&yacy;&chcy;&iecy;&tcy; &vcy;&scy;&yucy; &ncy;&acy;&shcy;&ucy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &ncy;&acy; &vcy;&iecy;&tcy;&kcy;&acy;&khcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;  <code>remotes/satellite/*</code>  &ncy;&acy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;-&mcy;&acy;&tcy;&kcy;&iecy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy; &kcy;&acy;&kcy; &zcy;&acy;&pcy;&acy;&scy;&ncy;&ocy;&jcy; &mcy;&iecy;&tcy;&ocy;&dcy;. &Acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&ncy;&ocy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &vcy;&icy;&dcy;, &chcy;&tcy;&ocy; &ocy;&tcy; &vcy;&acy;&scy; Mothership  &quot;fetched&quot;  (&pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &kcy;&ocy;&gcy;&dcy;&acy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &ocy;&dcy;&ncy;&ocy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&icy;&jcy;).</span></p> </li> <li> <p><span data-i18n="6cf6162365ab44d33b8a1aafced4cea3c3ab0ca1ee9aab5fbd8ef66feef47ab8/04" data-source="on mothership machine, merge the work done on the satellite machine into the master branch." onmousemove="i18n(this)">&ncy;&acy; &mcy;&acy;&tcy;&iecy;&rcy;&icy;&ncy;&scy;&kcy;&ocy;&jcy; &mcy;&acy;&shcy;&icy;&ncy;&iecy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&ncy;&ucy;&yucy; &ncy;&acy; &scy;&pcy;&ucy;&tcy;&ncy;&icy;&kcy;&ocy;&vcy;&ocy;&jcy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;, &scy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy;.</span></p> </li> </ol> </div> </dd> <dt id="Documentation/giteveryday.txt-Branchoffofaspecifictag"><span data-i18n="b165ab8b46e58ba4af449e5d1527b485086ce8e1cce96af9dea7751e2315bb7a/66" data-source="Branch off of a specific tag." onmousemove="i18n(this)">&Ocy;&tcy;&vcy;&iecy;&tcy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &ocy;&tcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &tcy;&iecy;&gcy;&acy;.</span></dt> <dd> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch -c private2.6.14 v2.6.14 (1)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">edit/compile/test; git commit -a</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git checkout master</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git cherry-pick v2.6.14..private2.6.14 (2)</span></pre> </div> </div> <div> <ol> <li> <p><span data-i18n="7ce8aca57bb5f823137ac9a7fd4d98aee703e35f0918dcfd348bfbda2b3f82e4/d5" data-source="create a private branch based on a well known (but somewhat behind) tag." onmousemove="i18n(this)">&scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &vcy;&iecy;&tcy;&kcy;&ucy;  private  &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &khcy;&ocy;&rcy;&ocy;&shcy;&ocy; &icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ocy;&gcy;&ocy; (&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ucy;&scy;&tcy;&acy;&rcy;&iecy;&vcy;&shcy;&iecy;&gcy;&ocy;) &tcy;&iecy;&gcy;&acy;.</span></p> </li> <li> <p><span data-i18n="bfa2a40780ff6de7a208ae997d4ee316b88465a80b68c0757875a3fa2131c9b0/d6" data-source="forward port all changes in &lt;code&gt;private2.6.14&lt;/code&gt; branch to &lt;code&gt;master&lt;/code&gt; branch without a formal &amp;quot;merging&amp;quot;. Or longhand" onmousemove="i18n(this)">&pcy;&iecy;&rcy;&iecy;&ncy;&acy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &vcy;&iecy;&tcy;&kcy;&iecy;  <code>private2.6.14</code>  &vcy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>master</code>  &bcy;&iecy;&zcy; &fcy;&ocy;&rcy;&mcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy;  &quot;merging&quot; . &Icy;&lcy;&icy; &ocy;&tcy; &rcy;&ucy;&kcy;&icy;</span><br/> <code>git format-patch -k -m --stdout v2.6.14..private2.6.14 |
  git am -3 -k</code></p> </li> </ol> </div> </dd> </dl> </div> <p><span data-i18n="81e288fbbb9132d8b2395fabf89ccf1aad610ae6d297ae761d11823fa4b43ce2/23" data-source="An alternate participant submission mechanism is using the &lt;code&gt;git request-pull&lt;/code&gt; or pull-request mechanisms (e.g. as used on GitHub (www.github.com) to notify your upstream of your contribution." onmousemove="i18n(this)">&Acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;&ocy;&vcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;  <code>git request-pull</code>  &icy;&lcy;&icy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy;&ycy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&acy; &ncy;&acy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&iecy; &ncy;&acy; GitHub (www.github.com) &dcy;&lcy;&yacy; &ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ycy; &ocy; &vcy;&acy;&shcy;&iecy;&mcy; &vcy;&kcy;&lcy;&acy;&dcy;&iecy;.</span></p> </div> </div> <h2 class="text-body-emphasis"  id="_integrator"><span data-i18n="e43f447b65e6b1236fa237ffc613d5e0dde3509a5d3089e6378686e41318d17a/2c" data-source="Integrator" onmousemove="i18n(this)">Integrator</span></h2> <div> <p><span data-i18n="b0f99e83d390c5465a558307486eec2cf6be9fea25e49655e92030527dccb83d/8e" data-source="A fairly central person acting as the integrator in a group project receives changes made by others, reviews and integrates them and publishes the result for others to use, using these commands in addition to the ones needed by participants." onmousemove="i18n(this)">&Dcy;&ocy;&scy;&tcy;&acy;&tcy;&ocy;&chcy;&ncy;&ocy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy;, &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &kcy;&acy;&kcy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&acy;&tcy;&ocy;&rcy; &vcy; &gcy;&rcy;&ucy;&pcy;&pcy;&ocy;&vcy;&ocy;&mcy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&iecy;, &pcy;&ocy;&lcy;&ucy;&chcy;&acy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy;, &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &icy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; &icy;&khcy;, &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&ucy;&bcy;&lcy;&icy;&kcy;&ucy;&iecy;&tcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &dcy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; &vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &tcy;&iecy;&mcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy; &ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;&acy;&mcy;.</span></p> <p><span data-i18n="b7228943633084ec05d96bc0aeee27cec921c65e2f9561c389429b2ff63d80a1/18" data-source="This section can also be used by those who respond to &lt;code&gt;git
request-pull&lt;/code&gt; or pull-request on GitHub (www.github.com) to integrate the work of others into their history. A sub-area lieutenant for a repository will act both as a participant and as an integrator." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &tcy;&iecy;&mcy;&icy;, &kcy;&tcy;&ocy; &ocy;&tcy;&vcy;&iecy;&chcy;&acy;&iecy;&tcy; &ncy;&acy;  <code>git
request-pull</code>  &icy;&lcy;&icy; &zcy;&acy;&pcy;&rcy;&ocy;&scy; &ncy;&acy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy; &ncy;&acy; GitHub (www.github.com), &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &vcy; &scy;&vcy;&ocy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;. &Ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&jcy; &zcy;&acy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&acy;&kcy; &ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;, &tcy;&acy;&kcy; &icy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&acy;&tcy;&ocy;&rcy;.</span></p> <div> <ul> <li> <p><span data-i18n="b0ca38a86235b7c8f8310abd9d1b892f685f8a790dc7589ef0bed9341263a760/10" data-source="&lt;a href=&quot;git-am&quot;&gt;git-am[1]&lt;/a&gt; to apply patches e-mailed in from your contributors." onmousemove="i18n(this)"><a href="git-am.html">git-am[1]</a>  &dcy;&lcy;&yacy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &pcy;&ocy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&iecy; &ocy;&tcy; &vcy;&acy;&shcy;&icy;&khcy; &ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;&ocy;&vcy;.</span></p> </li> <li> <p><span data-i18n="4ef8ac043f794b6b9f468b41ff09aed86e60e3ad213fe9e549047ad5828db2be/0d" data-source="&lt;a href=&quot;git-pull&quot;&gt;git-pull[1]&lt;/a&gt; to merge from your trusted lieutenants." onmousemove="i18n(this)"><a href="git-pull.html">git-pull[1]</a>  &dcy;&lcy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy; &vcy;&acy;&shcy;&icy;&mcy;&icy; &dcy;&ocy;&vcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy;&mcy;&icy;.</span></p> </li> <li> <p><span data-i18n="ab738655be33334cca38f422b8e6cb766d964f872c67a49915381b6f30b9b8bb/b9" data-source="&lt;a href=&quot;git-format-patch&quot;&gt;git-format-patch[1]&lt;/a&gt; to prepare and send suggested alternative to contributors." onmousemove="i18n(this)"><a href="git-format-patch.html">git-format-patch[1]</a>  &dcy;&lcy;&yacy; &pcy;&ocy;&dcy;&gcy;&ocy;&tcy;&ocy;&vcy;&kcy;&icy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &pcy;&rcy;&iecy;&dcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ocy;&jcy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ycy; &ucy;&chcy;&acy;&scy;&tcy;&ncy;&icy;&kcy;&acy;&mcy;.</span></p> </li> <li> <p><span data-i18n="5008e3f411407b6a1ac6cf376f7b0616f0d90bf88c5bebd4a3e6b4a21ac4d32e/13" data-source="&lt;a href=&quot;git-revert&quot;&gt;git-revert[1]&lt;/a&gt; to undo botched commits." onmousemove="i18n(this)"><a href="git-revert.html">git-revert[1]</a>  &dcy;&lcy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&ycy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;.</span></p> </li> <li> <p><span data-i18n="42f9f9a03deb8b761868beb516af62e84ee5348a2d35f049699e79b116aca05c/52" data-source="&lt;a href=&quot;git-push&quot;&gt;git-push[1]&lt;/a&gt; to publish the bleeding edge." onmousemove="i18n(this)"><a href="git-push.html">git-push[1]</a> , &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&pcy;&ucy;&bcy;&lcy;&icy;&kcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&dcy;&ocy;&vcy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy;.</span></p> </li> </ul> </div> <div> <h3 class="text-body-emphasis"  id="_examples_3"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h3> <div> <dl> <dt id="Documentation/giteveryday.txt-Atypicalintegrator8217sGitday"><span data-i18n="51b1561437c3cb56e5f309fb3abc4f759218e855ef5f469fe72b3dfeda0dcf98/f9" data-source="A typical integrator&amp;rsquo;s Git day." onmousemove="i18n(this)">&Tcy;&icy;&pcy;&icy;&chcy;&ncy;&ycy;&jcy; &dcy;&iecy;&ncy;&softcy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&acy;&tcy;&ocy;&rcy;&acy;  Git .</span></dt> <dd> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git status (1)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git branch --no-merged master (2)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">mailx (3)</span>
&amp; s 2 3 4 5 ./+to-apply
&amp; s 7 8 ./+hold-linus
&amp; q
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch -c topic/one master</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git am -3 -i -s ./+to-apply (4)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">compile/test</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch -c hold/linus &amp;&amp; git am -3 -i -s ./+hold-linus (5)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch topic/one &amp;&amp; git rebase master (6)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch -C seen next (7)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git merge topic/one topic/two &amp;&amp; git merge hold/linus (8)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git switch maint</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git cherry-pick master~4 (9)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">compile/test</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git tag -s -m <span class="hljs-string">&quot;GIT 0.99.9x&quot;</span> v0.99.9x (10)</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git fetch ko &amp;&amp; <span class="hljs-keyword">for</span> branch <span class="hljs-keyword">in</span> master maint next seen (11)</span>
    do
        git show-branch ko/$branch $branch (12)
    done
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git push --follow-tags ko (13)</span></pre> </div> </div> <div> <ol> <li> <p><span data-i18n="f09b7d5913ba4ac034741912a57ded26c068e285585b2cf425ea614b1c433fc3/a0" data-source="see what you were in the middle of doing, if anything." onmousemove="i18n(this)">&pcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&tcy;&iecy;, &chcy;&iecy;&mcy; &vcy;&ycy; &zcy;&acy;&ncy;&icy;&mcy;&acy;&lcy;&icy;&scy;&softcy;, &iecy;&scy;&lcy;&icy; &chcy;&tcy;&ocy;.</span></p> </li> <li> <p><span data-i18n="a9854e8cbf80b8be4f829690a0d65f664aa0b1ec24ed26a53b54181f9628095b/c3" data-source="see which branches haven&amp;rsquo;t been merged into &lt;code&gt;master&lt;/code&gt; yet. Likewise for any other integration branches e.g. &lt;code&gt;maint&lt;/code&gt;, &lt;code&gt;next&lt;/code&gt; and &lt;code&gt;seen&lt;/code&gt;." onmousemove="i18n(this)">&pcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&tcy;&iecy;, &kcy;&acy;&kcy;&icy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &iecy;&shchcy;&iecy; &ncy;&iecy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&ycy; &vcy;  <code>master</code> . &Acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&ncy;&ocy; &dcy;&lcy;&yacy; &lcy;&yucy;&bcy;&ycy;&khcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&acy;&tscy;&icy;&icy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>maint</code> ,  <code>next</code>  &icy;  <code>seen</code> .</span></p> </li> <li> <p><span data-i18n="3bc8b1cfb6e34fcdfce0ec2ebbcc819fa440ec35c0428c42715cf37419ff4fc9/fb" data-source="read mails, save ones that are applicable, and save others that are not quite ready (other mail readers are available)." onmousemove="i18n(this)">&chcy;&icy;&tcy;&acy;&tcy;&softcy; &pcy;&icy;&scy;&softcy;&mcy;&acy;, &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&tcy;&softcy; &tcy;&iecy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&mcy;&ycy;, &icy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&tcy;&softcy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &scy;&ocy;&vcy;&scy;&iecy;&mcy; &gcy;&ocy;&tcy;&ocy;&vcy;&ycy; (&dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &pcy;&rcy;&ocy;&gcy;&rcy;&acy;&mcy;&mcy;&ycy; &dcy;&lcy;&yacy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&chcy;&tcy;&ycy;).</span></p> </li> <li> <p><span data-i18n="9af94892dd0b2c64ba243d0a55586ade09f1418c03aa1e076af20e1d7780991e/f2" data-source="apply them, interactively, with your sign-offs." onmousemove="i18n(this)">&pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&jcy;&tcy;&iecy; &icy;&khcy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&acy;&ncy;&icy;&yacy;.</span></p> </li> <li> <p><span data-i18n="1d62975979d236163af1279e05958aa376571a72d34d3f5e9dc422ec051be536/51" data-source="create topic branch as needed and apply, again with sign-offs." onmousemove="i18n(this)">&pcy;&rcy;&icy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy; &icy; &pcy;&ocy;&dcy;&acy;&jcy;&tcy;&iecy; &zcy;&acy;&yacy;&vcy;&kcy;&ucy;, &ocy;&pcy;&yacy;&tcy;&softcy; &zhcy;&iecy; &scy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&yacy;&mcy;&icy;.</span></p> </li> <li> <p><span data-i18n="8853c2808168efdeb97edf71e5032ab31e9a074c7f0b7775480da388ac7bb4c2/fa" data-source="rebase internal topic branch that has not been merged to the master or exposed as a part of a stable branch." onmousemove="i18n(this)">&pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&yucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ncy;&iecy; &bcy;&ycy;&lcy;&acy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&acy; &scy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &icy;&lcy;&icy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&kcy;&acy;&kcy; &chcy;&acy;&scy;&tcy;&softcy; &scy;&tcy;&acy;&bcy;&icy;&lcy;&softcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> </li> <li> <p><span data-i18n="8bb6b279527b3c1901c9505394ac60a5ab8f7d0f54f571a1dc01c1dbf0359f91/35" data-source="restart &lt;code&gt;seen&lt;/code&gt; every time from the next." onmousemove="i18n(this)">&pcy;&iecy;&rcy;&iecy;&zcy;&acy;&gcy;&rcy;&ucy;&zhcy;&acy;&jcy;&tcy;&iecy;  <code>seen</code>  &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &rcy;&acy;&zcy; &scy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy;.</span></p> </li> <li> <p><span data-i18n="cc829149343b23f4e861e366068d800581e98e3a656afcd783efaee785203dc4/3a" data-source="and bundle topic branches still cooking." onmousemove="i18n(this)">&icy; &gcy;&rcy;&ucy;&pcy;&pcy;&ocy;&vcy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &tcy;&iecy;&mcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&scy;&iecy; &iecy;&shchcy;&iecy; &gcy;&ocy;&tcy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy;.</span></p> </li> <li> <p><span data-i18n="e7df3ec51de403766d47cc581d57a9dc982495cfa4271f601bb03862ef227807/c8" data-source="backport a critical fix." onmousemove="i18n(this)">&pcy;&iecy;&rcy;&iecy;&ncy;&iecy;&scy;&tcy;&icy; &kcy;&rcy;&icy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&iecy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;.</span></p> </li> <li> <p><span data-i18n="6abe8429013d2a020110771dbfa042611dd3a0a645c2aeb478d22983f51c1d5b/0a" data-source="create a signed tag." onmousemove="i18n(this)">&scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&jcy; &tcy;&iecy;&gcy;.</span></p> </li> <li> <p><span data-i18n="4020bc9c2e0ccacaa7fcb2e2ef8b254186cf6e707a93828f25ce1dc633a1d55e/91" data-source="make sure master was not accidentally rewound beyond that already pushed out." onmousemove="i18n(this)">&ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &mcy;&acy;&scy;&tcy;&iecy;&rcy; &ncy;&iecy; &bcy;&ycy;&lcy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&acy;&ncy; &dcy;&acy;&lcy;&softcy;&shcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy; &ucy;&zhcy;&iecy; &vcy;&ycy;&tcy;&ocy;&lcy;&kcy;&ncy;&ucy;&tcy;&ocy;.</span></p> </li> <li> <p><span data-i18n="e6f7699a5d87abffa01be6c54be5a2b305fc79250448c872f82eebbdf3c568b6/75" data-source="In the output from &lt;code&gt;git show-branch&lt;/code&gt;, &lt;code&gt;master&lt;/code&gt; should have everything &lt;code&gt;ko/master&lt;/code&gt; has, and &lt;code&gt;next&lt;/code&gt; should have everything &lt;code&gt;ko/next&lt;/code&gt; has, etc." onmousemove="i18n(this)">&Vcy; &vcy;&ycy;&vcy;&ocy;&dcy;&iecy;  <code>git show-branch</code> <code>master</code>  &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &icy;&mcy;&iecy;&tcy;&softcy; &vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &iecy;&scy;&tcy;&softcy; &ucy;  <code>ko/master</code> , &acy;  <code>next</code>  &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &icy;&mcy;&iecy;&tcy;&softcy; &vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &iecy;&scy;&tcy;&softcy; &ucy;  <code>ko/next</code> , &icy; &tcy;.&nbsp;&dcy;.</span></p> </li> <li> <p><span data-i18n="9895e89428eb7aa0f8e3e5034185149f66ea76c6618fbc2aea70e6c5ff53bdae/82" data-source="push out the bleeding edge, together with new tags that point into the pushed history." onmousemove="i18n(this)">&vcy;&ycy;&tcy;&ocy;&lcy;&kcy;&ncy;&ucy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&dcy;&ocy;&vcy;&ucy;&yucy; &kcy;&rcy;&acy;&jcy;&ncy;&ocy;&scy;&tcy;&softcy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy; &ncy;&ocy;&vcy;&ycy;&mcy;&icy; &tcy;&iecy;&gcy;&acy;&mcy;&icy;, &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&mcy;&icy; &ncy;&acy; &vcy;&ycy;&dcy;&vcy;&icy;&ncy;&ucy;&tcy;&ucy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;.</span></p> </li> </ol> </div> </dd> </dl> </div> <p><span data-i18n="f7093a94a023cc6af03671534feae8b9969f288ffe2a242256386e5f7129912e/7a" data-source="In this example, the &lt;code&gt;ko&lt;/code&gt; shorthand points at the Git maintainer&amp;rsquo;s repository at kernel.org, and looks like this:" onmousemove="i18n(this)">&Vcy; &ecy;&tcy;&ocy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&iecy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&iecy;  <code>ko</code>  &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &scy;&ocy;&pcy;&rcy;&ocy;&vcy;&ocy;&zhcy;&dcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy;  Git  &ncy;&acy; kernel.org &icy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&icy;&tcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;:</span></p> <div> <div> <pre class="hljs language-bash">(<span class="hljs-keyword">in</span> .git/config)
[remote <span class="hljs-string">&quot;ko&quot;</span>]
        url = kernel.org:/pub/scm/git/git.git
        fetch = refs/heads/*:refs/remotes/ko/*
        push = refs/heads/master
        push = refs/heads/next
        push = +refs/heads/seen
        push = refs/heads/maint</pre> </div> </div> </div> </div> <h2 class="text-body-emphasis"  id="_repository_administration"><span data-i18n="9d03f710b65c1043adc26dee92d1221711c00c4b64241362538ec018d56ebed4/30" data-source="Repository administration" onmousemove="i18n(this)">Repository administration</span></h2> <div> <p><span data-i18n="9f6e1e57894901c0a339814eda5f1338f5ddadc04d33c020fcf9fb2a364c10bf/45" data-source="A repository administrator uses the following tools to set up and maintain access to the repository by developers." onmousemove="i18n(this)">&Acy;&dcy;&mcy;&icy;&ncy;&icy;&scy;&tcy;&rcy;&acy;&tcy;&ocy;&rcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy; &dcy;&lcy;&yacy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy; &icy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&yacy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&acy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy; &scy;&ocy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ycy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&ocy;&vcy;.</span></p> <div> <ul> <li> <p><span data-i18n="5a05800967b0ea966d20d535b07a4434918074c5062e2a3ed9355bb6dddb9b2d/c8" data-source="&lt;a href=&quot;git-daemon&quot;&gt;git-daemon[1]&lt;/a&gt; to allow anonymous download from repository." onmousemove="i18n(this)"><a href="git-daemon.html">git-daemon[1]</a> , &chcy;&tcy;&ocy;&bcy;&ycy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &acy;&ncy;&ocy;&ncy;&icy;&mcy;&ncy;&ucy;&yucy; &zcy;&acy;&gcy;&rcy;&ucy;&zcy;&kcy;&ucy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></p> </li> <li> <p><span data-i18n="4f1744354de49445791023af656eb4e2493006084e7b8402dd04d426fb961897/16" data-source="&lt;a href=&quot;git-shell&quot;&gt;git-shell[1]&lt;/a&gt; can be used as a &lt;code&gt;restricted login shell&lt;/code&gt; for shared central repository users." onmousemove="i18n(this)"><a href="git-shell.html">git-shell[1]</a>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&acy;&kcy;  <code>restricted login shell</code>  &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy;.</span></p> </li> <li> <p><span data-i18n="bfbd461863f19dc9b317d580bfd4e503260c857502be369c1caf610321f67aa7/d3" data-source="&lt;a href=&quot;git-http-backend&quot;&gt;git-http-backend[1]&lt;/a&gt; provides a server side implementation of Git-over-HTTP (&amp;quot;Smart http&amp;quot;) allowing both fetch and push services." onmousemove="i18n(this)"><a href="git-http-backend.html">git-http-backend[1]</a>  &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&yucy; Git-over-HTTP &ncy;&acy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy; ( &quot;Smart http&quot; ), &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&shchcy;&ucy;&yucy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &kcy;&acy;&kcy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&ucy;, &tcy;&acy;&kcy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&ucy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;.</span></p> </li> <li> <p><span data-i18n="03d234ec25145c2ef5822526aef17b18a23d4efeb3cc6e1966df7b91c35d32b4/07" data-source="&lt;a href=&quot;gitweb&quot;&gt;gitweb[1]&lt;/a&gt; provides a web front-end to Git repositories, which can be set-up using the &lt;a href=&quot;git-instaweb&quot;&gt;git-instaweb[1]&lt;/a&gt; script." onmousemove="i18n(this)"><a href="gitweb.html">gitweb[1]</a>  &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &vcy;&iecy;&bcy;-&icy;&ncy;&tcy;&iecy;&rcy;&fcy;&iecy;&jcy;&scy; &dcy;&lcy;&yacy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;  Git , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&yacy;  <a href="git-instaweb.html">git-instaweb[1]</a> .</span></p> </li> </ul> </div> <p><span data-i18n="aef6e04c8d3c405dcbb7806030dd95f30e22ff0911d6ea92bae62d7566b1edca/d1" data-source="&lt;a href=&quot;https://git-scm.com/docs/howto/update-hook-example&quot;&gt;update hook howto&lt;/a&gt; has a good example of managing a shared central repository." onmousemove="i18n(this)"><a href="https://git-scm.com/docs/howto/update-hook-example">update hook howto</a>  &icy;&mcy;&iecy;&iecy;&tcy; &khcy;&ocy;&rcy;&ocy;&shcy;&icy;&jcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&shchcy;&icy;&mcy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy;.</span></p> <p><span data-i18n="8567a691e278f7dab9a82c2d53a106fa9d94546d127b706ced81adc0c0ef1c13/58" data-source="In addition there are a number of other widely deployed hosting, browsing and reviewing solutions such as:" onmousemove="i18n(this)">&Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &rcy;&yacy;&dcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &shcy;&icy;&rcy;&ocy;&kcy;&ocy; &rcy;&acy;&scy;&pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&iecy;&ncy;&ncy;&ycy;&khcy; &rcy;&iecy;&shcy;&iecy;&ncy;&icy;&jcy; &dcy;&lcy;&yacy; &khcy;&ocy;&scy;&tcy;&icy;&ncy;&gcy;&acy;, &pcy;&rcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&acy; &icy; &pcy;&rcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&acy;, &tcy;&acy;&kcy;&icy;&khcy; &kcy;&acy;&kcy;:</span></p> <div> <ul> <li> <p><span data-i18n="f640182c991d38c4885999134908053122eab39ede8f25470f574290930edb01/a0" data-source="gitolite, gerrit code review, cgit and others." onmousemove="i18n(this)">gitolite, &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&acy; &kcy;&ocy;&dcy;&acy; Gerrit, cgit &icy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy;.</span></p> </li> </ul> </div> <div> <h3 class="text-body-emphasis"  id="_examples_4"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h3> <div> <dl> <dt id="Documentation/giteveryday.txt-Weassumethefollowinginetcservices"><span data-i18n="fe8df0e8c5271871e425905fd6c130671e00e8255e53953b776f95a26dcbc5b8/70" data-source="We assume the following in /etc/services" onmousemove="i18n(this)">&Mcy;&ycy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&iecy; &vcy; /etc/services</span></dt> <dd> <div> <div> <pre class="hljs language-bash">$ grep 9418 /etc/services
git                9418/tcp                <span class="hljs-comment" title="# Git Version Control System"># &Scy;&icy;&scy;&tcy;&iecy;&mcy;&acy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&jcy; Git</span></pre> </div> </div> </dd> <dt id="Documentation/giteveryday.txt-Rungit-daemontoservepubscmfrominetd"><span data-i18n="afcfd0d29eafb227e4fb4f98755f4334956bc2d98b46a5247345a489a57e86cd/1f" data-source="Run git-daemon to serve /pub/scm from inetd." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy; git-daemon &dcy;&lcy;&yacy; &ocy;&bcy;&scy;&lcy;&ucy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; /pub/scm &icy;&zcy; inetd.</span></dt> <dd> <div> <div> <pre class="hljs language-bash">$ grep git /etc/inetd.conf
git        stream        tcp        nowait        nobody \
  /usr/bin/git-daemon git-daemon --inetd --export-all /pub/scm</pre> </div> </div> <p><span data-i18n="bce6c2a161705669b721eaa2110a65b758eec596f0d83d3341f9fc86bb083ba2/7b" data-source="The actual configuration line should be on one line." onmousemove="i18n(this)">&Fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&softcy;&scy;&yacy; &ncy;&acy; &ocy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;.</span></p> </dd> <dt id="Documentation/giteveryday.txt-Rungit-daemontoservepubscmfromxinetd"><span data-i18n="f1e3e9de74d218524d24df5eaedb557d61ebdda25ad53d02f7f6974a99d0105d/99" data-source="Run git-daemon to serve /pub/scm from xinetd." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy; git-daemon &dcy;&lcy;&yacy; &ocy;&bcy;&scy;&lcy;&ucy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; /pub/scm &icy;&zcy; xinetd.</span></dt> <dd> <div> <div> <pre class="hljs language-bash">$ <span class="hljs-built_in">cat</span> /etc/xinetd.d/git-daemon
<span class="hljs-comment" title="# default: off"># &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;: &vcy;&ycy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy;</span>
<span class="hljs-comment" title="# description: The Git server offers access to Git repositories"># &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&iecy;: &Scy;&iecy;&rcy;&vcy;&iecy;&rcy; Git &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;&mcy; Git.</span>
service git
{
        <span class="hljs-built_in">disable</span> = no
        <span class="hljs-built_in">type</span>            = UNLISTED
        port            = 9418
        socket_type     = stream
        <span class="hljs-built_in">wait</span>            = no
        user            = nobody
        server          = /usr/bin/git-daemon
        server_args     = --inetd --export-all --base-path=/pub/scm
        log_on_failure  += USERID
}</pre> </div> </div> <p><span data-i18n="dee0a13b2813cea6440f9b50d6f4c2d01d3a6824bb397058288cea62bb48eff4/27" data-source="Check your xinetd(8) documentation and setup, this is from a Fedora system. Others might be different." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&yucy; &icy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy; xinetd(8), &ecy;&tcy;&ocy; &icy;&zcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; Fedora. &Dcy;&rcy;&ucy;&gcy;&icy;&iecy; &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy;.</span></p> </dd> <dt id="Documentation/giteveryday.txt-Givepushpullonlyaccesstodevelopersusinggit-over-ssh"><span data-i18n="a0d30425af1f566028b34cb84c4fd781068f0141bdb26af75008848c04a51ab5/82" data-source="Give push/pull only access to developers using git-over-ssh." onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; push/pull &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&acy;&mcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&shchcy;&icy;&mcy; git-over-ssh.</span></dt> <dd> <p><span data-i18n="3f0be859945cf43b9855a4293077da33c2f295abc89800fc6ca85e4fcdd0d125/8b" data-source="e.g. those using: &lt;code&gt;$ git push/pull ssh://host.xz/pub/scm/project&lt;/code&gt;" onmousemove="i18n(this)">&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy; &tcy;&iecy;, &kcy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;:  <code>$ git push/pull ssh://host.xz/pub/scm/project</code></span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>grep git /etc/passwd (<span class="hljs-number">1</span>)
<span class="hljs-symbol">alice:</span><span class="hljs-symbol">x:</span><span class="hljs-number">1000</span><span class="hljs-symbol">:</span><span class="hljs-number">1000</span><span class="hljs-symbol">:</span><span class="hljs-symbol">:/home/alice</span><span class="hljs-symbol">:/usr/bin/git-shell</span>
<span class="hljs-symbol">bob:</span><span class="hljs-symbol">x:</span><span class="hljs-number">1001</span><span class="hljs-symbol">:</span><span class="hljs-number">1001</span><span class="hljs-symbol">:</span><span class="hljs-symbol">:/home/bob</span><span class="hljs-symbol">:/usr/bin/git-shell</span>
<span class="hljs-symbol">cindy:</span><span class="hljs-symbol">x:</span><span class="hljs-number">1002</span><span class="hljs-symbol">:</span><span class="hljs-number">1002</span><span class="hljs-symbol">:</span><span class="hljs-symbol">:/home/cindy</span><span class="hljs-symbol">:/usr/bin/git-shell</span>
<span class="hljs-symbol">david:</span><span class="hljs-symbol">x:</span><span class="hljs-number">1003</span><span class="hljs-symbol">:</span><span class="hljs-number">1003</span><span class="hljs-symbol">:</span><span class="hljs-symbol">:/home/david</span><span class="hljs-symbol">:/usr/bin/git-shell</span>
<span class="hljs-variable">$ </span>grep git /etc/shells (<span class="hljs-number">2</span>)
/usr/bin/git-shell</pre> </div> </div> <div> <ol> <li> <p><span data-i18n="9f67403bb8b9a2883c231a0e926aac5a22eb40f830c95e225a274c5d1d835149/64" data-source="log-in shell is set to /usr/bin/git-shell, which does not allow anything but &lt;code&gt;git push&lt;/code&gt; and &lt;code&gt;git pull&lt;/code&gt;. The users require ssh access to the machine." onmousemove="i18n(this)">&dcy;&lcy;&yacy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&icy; &vcy;&khcy;&ocy;&dcy;&acy; &zcy;&acy;&dcy;&acy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; /usr/bin/git-shell, &chcy;&tcy;&ocy; &ncy;&iecy; &dcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy;, &kcy;&rcy;&ocy;&mcy;&iecy;  <code>git push</code>  &icy;  <code>git pull</code> . &Pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;&mcy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; ssh-&dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;.</span></p> </li> <li> <p><span data-i18n="1199f5c3ab59fa449f60866715d790310e6ae8cde1259d44c1ddbdf5a1d1743b/c1" data-source="in many distributions /etc/shells needs to list what is used as the login shell." onmousemove="i18n(this)">&vcy;&ocy; &mcy;&ncy;&ocy;&gcy;&icy;&khcy; &dcy;&icy;&scy;&tcy;&rcy;&icy;&bcy;&ucy;&tcy;&icy;&vcy;&acy;&khcy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; /etc/shells &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;, &chcy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&icy; &vcy;&khcy;&ocy;&dcy;&acy;.</span></p> </li> </ol> </div> </dd> <dt id="Documentation/giteveryday.txt-CVS-stylesharedrepository"><span data-i18n="ba637e78defd9e164f5ff6316cd6b19a57b280e2ce91264c03f925098799e68d/f1" data-source="CVS-style shared repository." onmousemove="i18n(this)">&Ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &vcy; &scy;&tcy;&icy;&lcy;&iecy; CVS.</span></dt> <dd> <div> <div> <pre class="hljs language-sql">$ grep git <span class="hljs-operator">/</span>etc<span class="hljs-operator">/</span><span class="hljs-keyword">group</span> (<span class="hljs-number">1</span>)
git:x:<span class="hljs-number">9418</span>:alice,bob,cindy,david
$ cd <span class="hljs-operator">/</span>home<span class="hljs-operator">/</span>devo.git
$ ls <span class="hljs-operator">-</span>l (<span class="hljs-number">2</span>)
  lrwxrwxrwx   <span class="hljs-number">1</span> david git    <span class="hljs-number">17</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> HEAD <span class="hljs-operator">-</span><span class="hljs-operator">&gt;</span> refs<span class="hljs-operator">/</span>heads<span class="hljs-operator">/</span>master
  drwxrwsr<span class="hljs-operator">-</span>x   <span class="hljs-number">2</span> david git  <span class="hljs-number">4096</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> branches
  <span class="hljs-operator">-</span>rw<span class="hljs-operator">-</span>rw<span class="hljs-operator">-</span>r<span class="hljs-comment" title="--   1 david git    84 Dec  4 22:40 config">-- 1 &Dcy;&ecy;&vcy;&icy;&dcy; git 84 4 &dcy;&iecy;&kcy;&acy;&bcy;&rcy;&yacy; 22:40 &kcy;&ocy;&ncy;&fcy;&icy;&gcy;</span>
  <span class="hljs-operator">-</span>rw<span class="hljs-operator">-</span>rw<span class="hljs-operator">-</span>r<span class="hljs-comment" title="--   1 david git    58 Dec  4 22:40 description">-- 1 &Dcy;&ecy;&vcy;&icy;&dcy; git 58 4 &dcy;&iecy;&kcy;&acy;&bcy;&rcy;&yacy; 22:40 &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&iecy;</span>
  drwxrwsr<span class="hljs-operator">-</span>x   <span class="hljs-number">2</span> david git  <span class="hljs-number">4096</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> hooks
  <span class="hljs-operator">-</span>rw<span class="hljs-operator">-</span>rw<span class="hljs-operator">-</span>r<span class="hljs-comment" title="--   1 david git 37504 Dec  4 22:40 index">-- 1 &Dcy;&ecy;&vcy;&icy;&dcy; git 37504 4 &dcy;&iecy;&kcy;&acy;&bcy;&rcy;&yacy; 22:40 &icy;&ncy;&dcy;&iecy;&kcy;&scy;</span>
  drwxrwsr<span class="hljs-operator">-</span>x   <span class="hljs-number">2</span> david git  <span class="hljs-number">4096</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> info
  drwxrwsr<span class="hljs-operator">-</span>x   <span class="hljs-number">4</span> david git  <span class="hljs-number">4096</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> objects
  drwxrwsr<span class="hljs-operator">-</span>x   <span class="hljs-number">4</span> david git  <span class="hljs-number">4096</span> Nov  <span class="hljs-number">7</span> <span class="hljs-number">14</span>:<span class="hljs-number">58</span> refs
  drwxrwsr<span class="hljs-operator">-</span>x   <span class="hljs-number">2</span> david git  <span class="hljs-number">4096</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> remotes
$ ls <span class="hljs-operator">-</span>l hooks<span class="hljs-operator">/</span><span class="hljs-keyword">update</span> (<span class="hljs-number">3</span>)
  <span class="hljs-operator">-</span>r<span class="hljs-operator">-</span>xr<span class="hljs-operator">-</span>xr<span class="hljs-operator">-</span>x   <span class="hljs-number">1</span> david git  <span class="hljs-number">3536</span> <span class="hljs-type">Dec</span>  <span class="hljs-number">4</span> <span class="hljs-number">22</span>:<span class="hljs-number">40</span> <span class="hljs-keyword">update</span>
$ cat info<span class="hljs-operator">/</span>allowed<span class="hljs-operator">-</span>users (<span class="hljs-number">4</span>)
refs<span class="hljs-operator">/</span>heads<span class="hljs-operator">/</span>master        alice\<span class="hljs-operator">|</span>cindy
refs<span class="hljs-operator">/</span>heads<span class="hljs-operator">/</span>doc<span class="hljs-operator">-</span><span class="hljs-keyword">update</span>        bob
refs<span class="hljs-operator">/</span>tags<span class="hljs-operator">/</span>v[<span class="hljs-number">0</span><span class="hljs-number">-9</span>]<span class="hljs-operator">*</span>        david</pre> </div> </div> <div> <ol> <li> <p><span data-i18n="1c3c9f1b3b87b7675aa781bc2eb8f35b490c002af06736d499eea63bbc782e13/86" data-source="place the developers into the same git group." onmousemove="i18n(this)">&pcy;&ocy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&ocy;&vcy; &vcy; &ocy;&dcy;&ncy;&ucy; &gcy;&rcy;&ucy;&pcy;&pcy;&ucy;  git .</span></p> </li> <li> <p><span data-i18n="2d862b9c971bc2f1e9192960c289cf39223677d73ac27e4b6ebd64f0d3f49df7/13" data-source="and make the shared repository writable by the group." onmousemove="i18n(this)">&icy; &scy;&dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&mcy; &dcy;&lcy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&icy; &gcy;&rcy;&ucy;&pcy;&pcy;&iecy;.</span></p> </li> <li> <p><span data-i18n="e305e36675d9357a62511562de4a5568e80b904092afd91cec617aa17765c0a5/3b" data-source="use update-hook example by Carl from Documentation/howto/ for branch policy control." onmousemove="i18n(this)">&icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy; update-hook &Kcy;&acy;&rcy;&lcy;&acy; &icy;&zcy; Documentation/howto/ &dcy;&lcy;&yacy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&lcy;&icy;&tcy;&icy;&kcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> </li> <li> <p><span data-i18n="7675ece78f63f73982b05cceb97b758c6c4187e9976b552d86186af912d87f16/72" data-source="alice and cindy can push into master, only bob can push into doc-update. david is the release manager and is the only person who can create and push version tags." onmousemove="i18n(this)">&Acy;&lcy;&icy;&scy;&acy; &icy; &Scy;&icy;&ncy;&dcy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &vcy;&vcy;&ocy;&dcy;&icy;&tcy;&softcy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; master, &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &Bcy;&ocy;&bcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &vcy;&vcy;&ocy;&dcy;&icy;&tcy;&softcy; &vcy; doc-update. &Dcy;&ecy;&vcy;&icy;&dcy; &mdash; &mcy;&iecy;&ncy;&iecy;&dcy;&zhcy;&iecy;&rcy; &rcy;&iecy;&lcy;&icy;&zcy;&ocy;&vcy; &icy; &iecy;&dcy;&icy;&ncy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&jcy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&tcy;&softcy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &tcy;&iecy;&gcy;&icy; &vcy;&iecy;&rcy;&scy;&icy;&jcy;.</span></p> </li> </ol> </div> </dd> </dl> </div> </div> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/giteveryday">https://git-scm.com/docs/giteveryday</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script data-cfasync="false" src="../../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitfaq.html">
                            gitfaq                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-bundle.html">
                            gitformat bundle                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-chunk.html">
                            gitformat chunk                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-commit-graph.html">
                            gitformat commit-graph                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-index.html">
                            gitformat index                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-pack.html">
                            gitformat pack                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-signature.html">
                            gitformat signature                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="giteveryday.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>